package com.pingan.haofang.searchcloud.index.dto;

import java.util.Date;

import com.pingan.haofang.searchcloud.common.dto.PageQueryDTO;

/**
 * 索引构建过程查询
 *
 * @author LUYI374
 * @date May 16, 2017
 * @since 1.0.0
 */
public class IndexBuildProgressQuery extends PageQueryDTO {

    /**
     * 项目CODE
     */
    private String projectCode;

    /**
     * 索引名称
     */
    private String indexName;

    /**
     * 索引构建类型
     */
    private int indexBuildType = -1;

    /**
     * 索引构建状态
     */
    private int status = -1;

    /**
     * 构建时间
     */
    private Date beginDate;

    /**
     * 构建
     */
    private Date endDate;

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public int getIndexBuildType() {
        return indexBuildType;
    }

    public void setIndexBuildType(int indexBuildType) {
        this.indexBuildType = indexBuildType;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "IndexBuildProgressQuery{" +
                "projectCode='" + projectCode + '\'' +
                ", indexName='" + indexName + '\'' +
                ", indexBuildType=" + indexBuildType +
                ", status=" + status +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                "} " + super.toString();
    }
}
